package com.erp.erp_entitys.log.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 数据日志信息(DataInfoLog)实体类
 *
 * @author lst
 * @since 2021-05-16 16:58:59
 */
public class DataInfoLogEntity implements Serializable {
    private static final long serialVersionUID = 277814254681597634L;
    /**
    * 主键id
    */
    private Integer id;
    /**
     * 各模块主表id
     */
    private Integer parentId;
    /**
    * 模块id(在枚举类中维护各模块id)
    */
    private Integer moduleId;
    /**
    * 操作类型(1:新增 2:修改 3:删除)
    */
    private Integer operationType;
    /**
    * 操作员名称
    */
    private String operationName;
    /**
    * 操作员编码
    */
    private String operationCode;
    /**
    * 操作日期
    */
    private Date operationTime;
    /**
    * 操作内容
    */
    private String operationContent;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public Integer getOperationType() {
        return operationType;
    }

    public void setOperationType(Integer operationType) {
        this.operationType = operationType;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }

    public String getOperationContent() {
        return operationContent;
    }

    public void setOperationContent(String operationContent) {
        this.operationContent = operationContent;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("DataInfoLogEntity").append('[')
                .append("id=")
                .append(id)
                .append(",parentId=")
                .append(parentId)
                .append(",moduleId=")
                .append(moduleId)
                .append(",operationType=")
                .append(operationType)
                .append(",operationName=")
                .append(operationName)
                .append(",operationCode=")
                .append(operationCode)
                .append(",operationTime=")
                .append(operationTime)
                .append(",operationContent=")
                .append(operationContent)
                .append(']');
        return sb.toString();
    }
}